package io.chenglicun.modules.knowledge.service;

import io.chenglicun.common.page.PageData;
import io.chenglicun.modules.knowledge.dto.UploadRespDTO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Map;

public interface KnowledgeFileService {
    PageData<UploadRespDTO> page(Map<String, Object> params);

    void delete(Long[] ids);

    void upload(MultipartFile file) throws IOException;
}
